<!DOCTYPE html>
<html>
<head>
<style>

div {
    width: 200px;
    height: 200px;
    background-color: black;
    translate: 50%, 50%;
}

</style>
</head>
<body>
<div></div>
</body>
</html>